package com.web.exiaodao.remote.service;

import com.web.exiaodao.business.entity.Institution;
import com.web.exiaodao.remote.vo.InstitutionVo;
import com.web.webstart.base.service.ApiBaseService;
import com.web.webstart.base.util.result.XaResult;
import com.web.webstart.base.exception.BusinessException;


public interface ApiInstitutionService extends ApiBaseService<InstitutionVo, Institution> {
    /**
     * 根据机构id和用户id查询机构详情信息
     * @param institutionId 机构id,不能为null
     * @param userId 用户id,可以用null
     * @return
     * @throws BusinessException
     * @author duandazhi
     * @date 2017/1/4 下午2:41
     */
    public XaResult<InstitutionVo> findOne(Long institutionId, Long userId) throws BusinessException;
}
